package com.qx.pethome.entity;

import java.util.Date;

public class Comment {
    private Integer cId;//评论编号
    private Date cTime;//评论时间
    private Integer admId;//管理员编号
    private Integer uId;//领养人编号
    private Integer pId;//宠物编号
    private String cText;//评论内容

    public Comment() {
    }

    public Comment(Integer cId, Date cTime, Integer admId, Integer uId, Integer pId, String cText) {
        this.cId = cId;
        this.cTime = cTime;
        this.admId = admId;
        this.uId = uId;
        this.pId = pId;
        this.cText = cText;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Integer getAdmId() {
        return admId;
    }

    public void setAdmId(Integer admId) {
        this.admId = admId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getcText() {
        return cText;
    }

    public void setcText(String cText) {
        this.cText = cText;
    }

    @Override
    public String toString() {
        return "评论表{" +
                "评论编号=" + cId +
                ",评论时间=" + cTime +
                ",管理员编号=" + admId +
                ",领养人编号=" + uId +
                ",宠物编号=" + pId +
                ",评论内容='" + cText + '\'' +
                '}';
    }
}
